package com.lovo.cloud.service;

import com.lovo.model.dto.UserDTO;

import java.util.List;

/**
 * @author luo
 * @description
 * @date 2020/12/1 17:12
 */
public interface PermissionService {

    /**
     * 颁发token
     * @param username
     * @return
     */
    List<String> getPermissions(String username);

    Boolean isLogin(UserDTO userDTO);

}
